Bookly\Lib\Base\Component S

Total Complexity 50
Dependencies 9
Dependents 0
Total lines 351
Lines of code 195
Logical lines of code 87
Comment lines 103
Methods 16
Properties 2

Methods 16

Method Rating Maintainability Complexity Lines of code
_assets()
A
46 12 36
registerGlobalAssets()
A
38 7 70
enqueueData()
S
53 7 20
getRequest()
S
56 7 17
renderTemplate()
S
62 2 11
csrfTokenValid()
S
76 2 3
reflection()
S
68 2 7
_register()
S
74 2 4
_enqueue()
S
74 2 4
pageSlug()
S
77 1 3
directory()
S
80 1 3
enqueueScripts()
S
76 1 4
enqueueStyles()
S
76 1 4
hasParameter()
S
79 1 3
parameter()
S
78 1 3
parameters()
S
80 1 3